package com.kgame5.xtank3d.model.tank.fsms.fire {
import com.kgame5.xtank3d.GameEnum;
import com.kgame5.xtank3d.model.tank.fsms.TankState;
import com.kgame5.xtank3d.vo.MyTankVO;

/**
 * @author kk
 */
public class StateWaitFire extends TankState{
	
	//__________________Propetty__________________
	
	//______________________Method___________________
	public function StateWaitFire(pvo:MyTankVO){
		super(GameEnum.STATE_TANK_WAIT_FIRE, pvo);
		
	}
	
	//进入状态
	override public function enter(info:Object=null):void{
		//启动等待射击动画
		fsm.sendNotify(GameEnum.START_WAIT_FIRE);
		
	}

	//执行状态
	override public function update():void{
		
	}
	
	//退出状态
	override public function exit():void{
		//退出等待射击动画
		fsm.sendNotify(GameEnum.END_WAIT_FIRE);
	}
	
}//end of class
}